From: Florian Müllner Date: Fri, 31 Jan 2020 08:23:48 +0000 (+0100) Subject: portalHelper: Require GTK 3.0 X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~781^2^2~77 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=4871845d0146b30dfd8dad93dd86d1557e40dca4;p=gnome-shell.git portalHelper: Require GTK 3.0 When multiple versions of a typelib are available, GI will pick the highest one unless an explicit version is requested. So as GTK 4.0 is becoming a thing, it's time to do that. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/970 --- diff --git a/js/portalHelper/main.js b/js/portalHelper/main.js index dc062a279..b0e568dac 100644 --- a/js/portalHelper/main.js +++ b/js/portalHelper/main.js @@ -1,4 +1,6 @@ /* exported main */ +imports.gi.versions.Gtk = '3.0'; + const Format = imports.format; const Gettext = imports.gettext; const { Gio, GLib, GObject, Gtk, Pango, Soup, WebKit2: WebKit } = imports.gi;